const CracoLessPlugin = require('craco-less');

module.exports = {
  plugins: [
    {
      plugin: CracoLessPlugin,
      options: {
        lessLoaderOptions: {
          lessOptions: {
            modifyVars: { '@primary-color': '#000' },
            javascriptEnabled: true,
          },
        },
      },
    },
  ],
  devServer: {
		proxy: {
			"/api": {
				target: "http://172.16.13.248:8090",
				changeOrigin: true,
				pathRewrite: {
					"^/api": "/api",
				},
			},
		},
	},
};